package com.vichat.res.entity;


import javax.persistence.*;

/***************
 *author: autogen
 *version: 2018-09-22 14:22:08.044
 */
@Entity
@Table(name = "ftp_config",catalog = "cfgdb")
public class FtpConfig implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "ftp_config";

    /** */
	public static final String ALIAS_ID = "id";
    /** */
	public static final String ALIAS_FTP_IP = "ftp_ip";
    /** */
	public static final String ALIAS_FTP_PORT = "ftp_port";
    /** */
	public static final String ALIAS_FTP_NAME = "ftp_name";
    /** */
	public static final String ALIAS_FTP_PASS = "ftp_pass";
    /** */
	public static final String ALIAS_LOCAL_PATH = "local_path";
    /** */
	public static final String ALIAS_REMOTE_PATH = "remote_path";
    /** */
	public static final String ALIAS_FTP_URL = "ftp_url";
    /** */
	public static final String ALIAS_STATE = "state";
	
	

 	@Id
@   GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
    public java.lang.Long id;
  
 	@Column(name = "ftp_ip")
    public java.lang.String ftpIp;
  
 	@Column(name = "ftp_port")
    public java.lang.String ftpPort;
  
 	@Column(name = "ftp_name")
    public java.lang.String ftpName;
  
 	@Column(name = "ftp_pass")
    public java.lang.String ftpPass;
  
 	@Column(name = "local_path")
    public java.lang.String localPath;
  
 	@Column(name = "remote_path")
    public java.lang.String remotePath;
  
 	@Column(name = "ftp_url")
    public java.lang.String ftpUrl;
  
 	@Column(name = "state")
    public java.lang.Long state;
  





	public java.lang.Long getId() {
		return this.id;
	}
	
	public void setId(java.lang.Long value) {
		this.id = value;
	}

	public java.lang.String getFtpIp() {
		return this.ftpIp;
	}
	
	public void setFtpIp(java.lang.String value) {
		this.ftpIp = value;
	}

	public java.lang.String getFtpPort() {
		return this.ftpPort;
	}
	
	public void setFtpPort(java.lang.String value) {
		this.ftpPort = value;
	}

	public java.lang.String getFtpName() {
		return this.ftpName;
	}
	
	public void setFtpName(java.lang.String value) {
		this.ftpName = value;
	}

	public java.lang.String getFtpPass() {
		return this.ftpPass;
	}
	
	public void setFtpPass(java.lang.String value) {
		this.ftpPass = value;
	}

	public java.lang.String getLocalPath() {
		return this.localPath;
	}
	
	public void setLocalPath(java.lang.String value) {
		this.localPath = value;
	}

	public java.lang.String getRemotePath() {
		return this.remotePath;
	}
	
	public void setRemotePath(java.lang.String value) {
		this.remotePath = value;
	}

	public java.lang.String getFtpUrl() {
		return this.ftpUrl;
	}
	
	public void setFtpUrl(java.lang.String value) {
		this.ftpUrl = value;
	}

	public java.lang.Long getState() {
		return this.state;
	}
	
	public void setState(java.lang.Long value) {
		this.state = value;
	}


	
	public FtpConfig() {
	}
	
	public FtpConfig(boolean qryflag) {
	    if(qryflag){
	    		this.id = null;
				this.ftpIp = null;
				this.ftpPort = null;
				this.ftpName = null;
				this.ftpPass = null;
				this.localPath = null;
				this.remotePath = null;
				this.ftpUrl = null;
				this.state = null;
			    }
	}


	public FtpConfig(
	    java.lang.Long inId,
	    java.lang.String inFtpIp,
	    java.lang.String inFtpPort,
	    java.lang.String inFtpName,
	    java.lang.String inFtpPass,
	    java.lang.String inLocalPath,
	    java.lang.String inRemotePath,
	    java.lang.String inFtpUrl,
		java.lang.Long inState
	 ) {
		super();
				this.id = inId;
				this.ftpIp = inFtpIp;
				this.ftpPort = inFtpPort;
				this.ftpName = inFtpName;
				this.ftpPass = inFtpPass;
				this.localPath = inLocalPath;
				this.remotePath = inRemotePath;
				this.ftpUrl = inFtpUrl;
				this.state = inState;
			}





}

